package com.yutel.gps.model;

public class LocationsNode {
	private String srcLng;
	private String srcLat;
	private String aimLng;
	private String aimLat;
	private int status;

	public String getSrcLng() {
		return srcLng;
	}

	public void setSrcLng(String srcLng) {
		this.srcLng = srcLng;
	}

	public String getSrcLat() {
		return srcLat;
	}

	public void setSrcLat(String srcLat) {
		this.srcLat = srcLat;
	}

	public String getAimLng() {
		return aimLng;
	}

	public void setAimLng(String aimLng) {
		this.aimLng = aimLng;
	}

	public String getAimLat() {
		return aimLat;
	}

	public void setAimLat(String aimLat) {
		this.aimLat = aimLat;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public boolean equal(LocationsNode ln) {
		if (ln == null) {
			return false;
		}
		if (srcLng.equals(ln.getSrcLng()) && srcLat.equals(ln.getSrcLat())) {
			return true;
		} else {
			return false;
		}
	}
}
